#include "defs.h"


typedef struct Gestion
{
    SDL_Surface *screen;
    Mix_Music  *musique;

} Gestion;

typedef struct GestionMenu
{
    SDL_Surface *screen[5];
    int choix ;
}GestionMenu ;

typedef struct Map
{

	SDL_Surface *background[5];
	float x[5],y[5];

} Map;

typedef struct Hero
{
    SDL_Surface *sprite;
    int status;
    float x,y;
	float vx,vy;

    /* Variables  pour l'animation */
    int frameNumber, frameTimer;
    int etat, direction;

} Hero;

typedef struct obstacle
{
    SDL_Surface *obstacle[5];
    int x[5],y[5];
    //int status ;
} obstacle ;

